package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 影视评分对象 hy_ratings
 * 
 * @author ruoyi
 * @date 2025-06-19
 */
public class HyRatings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评分ID */
    private Long ratingsId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 影视ID */
    @Excel(name = "影视ID")
    private Long movieId;

    @Excel(name = "影视名称")
    private String movieName;

    @Excel(name = "用户名称")
    private String userName;


    /** 评分(1-5) */
    @Excel(name = "评分(1-5)")
    private Long score;

    public void setRatingsId(Long ratingsId) 
    {
        this.ratingsId = ratingsId;
    }

    public Long getRatingsId() 
    {
        return ratingsId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setMovieId(Long movieId) 
    {
        this.movieId = movieId;
    }

    public Long getMovieId() 
    {
        return movieId;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public String getMovieName() {
		return movieName;
	}

    public void setMovieName(String movieName) {
		this.movieName = movieName;
	}

    public String getUserName() {
		return userName;
	}

    public void setUserName(String userName) {
		this.userName = userName;
	}

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ratingsId", getRatingsId())
            .append("userId", getUserId())
            .append("movieId", getMovieId())
            .append("score", getScore())
            .append("movieName", getMovieName())
            .append("userName", getUserName())
            .toString();
    }
}
